package service.impl;

import java.util.ArrayList;

import dao.IStorageDAO;
import service.IStorageService;
import entity.Storage;

public class IStorageServiceImpl implements IStorageService{
	private IStorageDAO storagequery;
	
	public IStorageDAO getStoragequery() {
		return storagequery;
	}

	public void setStoragequery(IStorageDAO storagequery) {
		this.storagequery = storagequery;
	}

	@Override
	public ArrayList<Storage> findAllStorage() throws Exception {
		// TODO Auto-generated method stub
		System.out.println("storagequery==============================="+storagequery);
		return storagequery.findAllStorage();
	}

}
